<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<s:form method="post" action="submitCourseDetailsForm.action">

		<%-- 		?course_id=<s:property value="course_id"/>&batch_id=<s:property value="batch_id"/>"> --%>
		<!-- 		action="updateBatchcourseDetails.action"> -->

		<%-- 		--%>

		<table>

			<tr>
				<td>Edit Course</td>
			</tr>
			<tr>
				<s:if test="%{#batch_id != 0}">
					<td>Batch_id <s:property value="batch_id" /></td>
				</s:if>
			</tr>
			<s:if test="%{#course_id != 0}">
				<tr>
					<td>Course Id <s:property value="course_id" /></td>
				</tr>
			</s:if>
			<tr>

				<td><s:textfield name="course_name" label="Course Name"
						value="%{course_name}" /></td>
			</tr>
			<tr>
			<tr>
				<td><s:textfield name="description" value="%{description}"
						label="Course Description" /></td>
			</tr>
			<tr>
				<s:set name="batch_id" value="%{batch_id}" />
				<s:set name="department_id" value="%{department_id}" />
				<td><s:submit label="Add" value="Submit" />
				</td>
			</tr>
		</table>

	</s:form>
</body>
</html>